/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BO;

import BO.Iter.HocKyBO;
import DAO.Iter.HocKyDAO;
import TableModel.Hocky;
import java.util.List;


/**
 *
 * @author vt
 */
public class HocKyBOImpl implements HocKyBO {
    private HocKyDAO hkDao;

    public HocKyDAO getHkDao() {
        return hkDao;
    }

    public void setHkDao(HocKyDAO hkDao) {
        this.hkDao = hkDao;
    }
   
    @Override
    public List<Hocky> listAllHocKy() {
       return hkDao.findAllHocKy();
    }

    @Override
    public Hocky findHocKyById(String idhocky) {
       return hkDao.findHocKyById(idhocky);
    }
    
}
